Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,9 +36,6 @@ def models(text, model="Mixtral 8x7B"):
|
|
| 36 |
output = output[:-4]
|
| 37 |
return output
|
| 38 |
|
| 39 |
-
|
| 40 |
-
### 5 Farklı Yapay Zeka Modeli ile Sohbet Edin."""
|
| 41 |
-
|
| 42 |
-
demo = gr.Interface(description=description,fn=models, theme="Nymbo/Nymbo_Theme", inputs=["text", gr.Dropdown([ 'Mixtral 8x7B','Nous Hermes Mixtral 8x7B DPO','StarChat2 15b','Mistral 7B v0.3','Phi 3 mini', ], value="Mistral 7B v0.3", label="Select Model") ], outputs="text", live=True, batch=True, max_batch_size=10000)
|
| 43 |
demo.queue(max_size=300000)
|
| 44 |
-
demo.launch()
|
|
|
|
| 36 |
output = output[:-4]
|
| 37 |
return output
|
| 38 |
|
| 39 |
+
demo = gr.Interface(fn=models, theme="Nymbo/Nymbo_Theme", inputs=["text", gr.Dropdown([ 'Mixtral 8x7B','Nous Hermes Mixtral 8x7B DPO','StarChat2 15b','Mistral 7B v0.3','Phi 3 mini', ], value="Mistral 7B v0.3", label="Select Model") ], outputs="text", live=True, batch=True, max_batch_size=10000)
|
|
|
|
|
|
|
|
|
|
| 40 |
demo.queue(max_size=300000)
|
| 41 |
+
demo.launch()
|