Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,14 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
|
|
|
| 3 |
def greet(name):
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
-
demo = gr.Interface(fn=greet,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
|
| 4 |
+
|
| 5 |
def greet(name):
|
| 6 |
return "Hello " + name + "!!"
|
| 7 |
|
| 8 |
+
demo = gr.Interface(fn = greet,
|
| 9 |
+
inputs = "text",
|
| 10 |
+
outputs = "text",
|
| 11 |
+
title = "Legal Retrieval Study",
|
| 12 |
+
description = "Based on the questions, how helpful are these responses?")
|
| 13 |
+
|
| 14 |
demo.launch()
|