Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,13 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
|
| 4 |
-
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
|
| 4 |
+
model_id = "ShadowEternity/CTFSolver"
|
| 5 |
|
| 6 |
+
model = gr.ChatInterface(
|
| 7 |
+
type="messages",
|
| 8 |
+
fn=model_id,
|
| 9 |
+
fill_height=True,
|
| 10 |
+
multimodel=False
|
| 11 |
+
)
|
| 12 |
|
| 13 |
demo.launch()
|