Thomas G. Lopes commited on
Commit
8daeb76
·
1 Parent(s): b5ac402

remove textarea when viewing snippets

Browse files
src/lib/components/inference-playground/playground.svelte CHANGED
@@ -115,7 +115,9 @@
115
  {/each}
116
  </div>
117
 
118
- <MessageTextarea />
 
 
119
 
120
  <!-- Bottom bar -->
121
  <div
 
115
  {/each}
116
  </div>
117
 
118
+ {#if !viewCode}
119
+ <MessageTextarea />
120
+ {/if}
121
 
122
  <!-- Bottom bar -->
123
  <div