Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,10 @@ import gradio as gr
|
|
| 2 |
import cv2
|
| 3 |
import pytesseract
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
def process_input(image,text):
|
| 6 |
try:
|
| 7 |
if image is not None:
|
|
|
|
| 2 |
import cv2
|
| 3 |
import pytesseract
|
| 4 |
|
| 5 |
+
from headline_gen.Control import ServerInit, Generator
|
| 6 |
+
|
| 7 |
+
Server = ServerInit("Start")
|
| 8 |
+
|
| 9 |
def process_input(image,text):
|
| 10 |
try:
|
| 11 |
if image is not None:
|