Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -232,11 +232,11 @@ def main_pipeline(input_content):
|
|
| 232 |
return final_text, word_count
|
| 233 |
|
| 234 |
### 7) Gradio Fonksiyon
|
| 235 |
-
def run_app(user_text
|
| 236 |
# Dosya veya metin
|
| 237 |
-
content = read_input_file_or_text(
|
| 238 |
if not content:
|
| 239 |
-
return ("⚠️ Please provide text
|
| 240 |
|
| 241 |
# pipeline
|
| 242 |
final_text, wcount = main_pipeline(content)
|
|
|
|
| 232 |
return final_text, word_count
|
| 233 |
|
| 234 |
### 7) Gradio Fonksiyon
|
| 235 |
+
def run_app(user_text):
|
| 236 |
# Dosya veya metin
|
| 237 |
+
content = read_input_file_or_text(user_text)
|
| 238 |
if not content:
|
| 239 |
+
return ("⚠️ Please provide text", "")
|
| 240 |
|
| 241 |
# pipeline
|
| 242 |
final_text, wcount = main_pipeline(content)
|