Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -187,7 +187,9 @@ def humanize_text(AI_text):
|
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
-
|
|
|
|
|
|
|
| 191 |
|
| 192 |
# Gradio interface definition
|
| 193 |
interface = gr.Interface(
|
|
|
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
+
# Define the main function to process text
|
| 191 |
+
def main_function(AI_text):
|
| 192 |
+
return humanize_text(AI_text) # Calls the GPT + Paraphrasing function
|
| 193 |
|
| 194 |
# Gradio interface definition
|
| 195 |
interface = gr.Interface(
|