Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -17,7 +17,10 @@ def create_gradio_interface():
|
|
| 17 |
fn=fact_check_function,
|
| 18 |
inputs=[
|
| 19 |
gr.Textbox(
|
| 20 |
-
lines=10,
|
|
|
|
|
|
|
|
|
|
| 21 |
),
|
| 22 |
gr.Dropdown(choices=["gpt-4-1106-preview"], label="Model"),
|
| 23 |
],
|
|
|
|
| 17 |
fn=fact_check_function,
|
| 18 |
inputs=[
|
| 19 |
gr.Textbox(
|
| 20 |
+
lines=10,
|
| 21 |
+
placeholder="Enter text to fact-check...",
|
| 22 |
+
label="Input Text",
|
| 23 |
+
max_length=1000,
|
| 24 |
),
|
| 25 |
gr.Dropdown(choices=["gpt-4-1106-preview"], label="Model"),
|
| 26 |
],
|