Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Load the model
|
4 |
-
model = gr.
|
5 |
-
|
6 |
-
# Create the interface
|
7 |
-
interface = gr.Interface(
|
8 |
-
fn=model.predict,
|
9 |
-
inputs=gr.Textbox(prompt="Type a prompt here..."),
|
10 |
-
outputs=gr.Textbox(),
|
11 |
-
live=True,
|
12 |
-
capture_session=True
|
13 |
-
)
|
14 |
-
|
15 |
-
# Launch the interface
|
16 |
-
interface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Load the model
|
4 |
+
model = gr.load("models/roneneldan/TinyStories-Instruct-33M").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|