File size: 1,605 Bytes
e0726cd
 
 
 
 
 
 
 
 
 
 
 
 
 
6f738f4
 
e0726cd
 
 
 
6f738f4
 
e0726cd
 
6f738f4
 
e0726cd
 
6f738f4
 
e0726cd
 
 
 
6f738f4
 
e0726cd
 
 
 
6f738f4
 
e0726cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f738f4
e0726cd
 
 
 
6f738f4
e0726cd
 
 
 
 
6f738f4
 
e0726cd
 
6f738f4
e0726cd
 
 
6f738f4
 
e0726cd
 
6f738f4
e0726cd
6f738f4
 
e0726cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f738f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
body {
  background-color: #F5F5F5;
  font-family: sans-serif;
}

.gradio {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #A238FF;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.chatbot-container {
  margin: 40px 0;
}

.chatbot-message {
  margin: 10px 0;
}

.chatbot-message .user {
  font-weight: bold;
  margin-right: 5px;
  color: #A238FF;
}

.chatbot-message .assistant {
  font-weight: bold;
  margin-left: 5px;
  color: #BBB;
}

.chatbot-message pre code {
  display: block;
  padding: 10px;
  background-color: #EEE;
  border-radius: 5px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.chatbot-message pre code.python {
  color: #007F00;
}

.chatbot-message pre code.shell {
  color: #007F7F;
}

.gradio button {
  background-color: #A238FF !important;
  border: none;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gradio button:hover {
  background-color: #8A1ACF !important;
}

.gradio input[type=text] {
  border-radius: 5px;
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 16px;
}

.gradio label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}

.gradio .row {
  display: flex;
  margin: 10px 0;
  align-items: center;
}

.gradio .column {
  flex: 1;
}

.gradio .button-container {
  display: flex;
  justify-content: flex-end;
}

.gradio .chatbot-container:last-of-type {
  margin-bottom: 0;
}