Spaces:
Running
Running
Jirat Jaturanpinyo
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def greet(
|
4 |
-
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=greet,
|
8 |
-
inputs=["text", "
|
9 |
-
outputs=
|
10 |
)
|
11 |
|
12 |
demo.launch(quiet=True,share=False)
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def greet(RepositoryID, FileName):
|
4 |
+
print(RepositoryID, FileName)
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=greet,
|
8 |
+
inputs=["text", "text"],
|
9 |
+
outputs=None,
|
10 |
)
|
11 |
|
12 |
demo.launch(quiet=True,share=False)
|