Spaces:
Runtime error
Runtime error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Gradio Interface</title> | |
</head> | |
<body> | |
<h1>Gradio Interface</h1> | |
<form action="/gradio" method="POST"> | |
<label for="user_text">Enter your text:</label><br> | |
<input type="text" id="user_text" name="user_text" required><br><br> | |
<input type="submit" value="Submit"> | |
</form> | |
{% if response %} | |
<h3>Response:</h3> | |
<p>{{ response }}</p> | |
{% endif %} | |
</body> | |
</html> | |